Skip to content

chore: Automate staging and production release using CodeBuild as well #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 13, 2021

Conversation

robin-aws
Copy link
Contributor

Description of changes:

This fills in the no-op steps to publish artifacts to either staging (i.e. CodeArtifact) or production (i.e. Sonatype).

Testing:

The staging workflow works completely with an existing release (if not already present on CodeArtifact), and the production workflow fails as expected because the latest version is already publicly released.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@robin-aws robin-aws requested a review from farleyb-amazon May 10, 2021 04:54

phases:
install:
runtime-versions:
java: openjdk8
java: openjdk11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity, per offline discussion: since the validation in these release steps is testing against all supported versions of Java (8 and 11, corretto and openjdk), bumping to 11 for the actual building of artifacts is a reasonable update.

@robin-aws robin-aws merged commit 2419d52 into aws:master May 13, 2021
@robin-aws robin-aws deleted the release-using-codebuild branch May 13, 2021 20:29
robin-aws added a commit to robin-aws/aws-encryption-sdk-java that referenced this pull request May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants